//
//  CarNoInputView.h
//  jieChe
//
//  Created by li on 16/8/3.
//  Copyright © 2016年 li. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CarNoInputView;

@protocol CarInputViewDelegate <NSObject>

- (void)getCarNoInputResult:(NSString *)result;

@end

@interface CarNoInputView : UIView

/**最大输入长度，默认7*/
@property (nonatomic,assign) int maxLength;

@property (nonatomic,assign) id<CarInputViewDelegate> carInputViewDelegate;

@property (nonatomic,copy) void (^carNoInputBlock)(NSString *carNo);

@property (nonatomic,copy) void (^removeSelfBlock)();

@property (nonatomic,strong) UIViewController *vc;

- (void)showKeyBoardView;
- (void)removeKeyBoadView;

///外部改变车牌
- (void)setCarNo:(NSString *)carNo;

@end
